//统一管理咱们项目用户相关的接口
import request from '@/utils/request'
import type {
  loginFormData,
  loginResponseData,
  userInfoReponseData,
} from './type'

//登录接口
export const reqLogin = (data: loginFormData) =>
  request.post<any, loginResponseData>('/user/login', data)
//获取路由信息
export const reqrouters = () => request.post<any, any>('/routers')
//退出登录
export const reqLogout = () => request.post<any, any>('/admin/acl/index/logout')
